﻿using System.Diagnostics;
using System.IO;

namespace NExplorer.Core.Commands
{
	internal class OpenInWindowsExplorerCommand : CommandBase
	{
		public OpenInWindowsExplorerCommand()
			: base("Open in Windows Explorer")
		{}

		protected override void Execute(FileSystemInfo fileSystemInfo)
		{
			Process.Start(fileSystemInfo.FullName);
		}
	}
}